﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012FF RID: 4863
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRoguePickAvatarInfoScNotify : IMessage<SyncRoguePickAvatarInfoScNotify>, IMessage, IEquatable<SyncRoguePickAvatarInfoScNotify>, IDeepCloneable<SyncRoguePickAvatarInfoScNotify>, IBufferMessage
	{
		// Token: 0x17003D66 RID: 15718
		// (get) Token: 0x0600D9BC RID: 55740 RVA: 0x00247BED File Offset: 0x00245DED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRoguePickAvatarInfoScNotify> Parser
		{
			get
			{
				return SyncRoguePickAvatarInfoScNotify._parser;
			}
		}

		// Token: 0x17003D67 RID: 15719
		// (get) Token: 0x0600D9BD RID: 55741 RVA: 0x00247BF4 File Offset: 0x00245DF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRoguePickAvatarInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D68 RID: 15720
		// (get) Token: 0x0600D9BE RID: 55742 RVA: 0x00247C06 File Offset: 0x00245E06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRoguePickAvatarInfoScNotify.Descriptor;
			}
		}

		// Token: 0x0600D9BF RID: 55743 RVA: 0x00247C0D File Offset: 0x00245E0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRoguePickAvatarInfoScNotify()
		{
		}

		// Token: 0x0600D9C0 RID: 55744 RVA: 0x00247C2B File Offset: 0x00245E2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRoguePickAvatarInfoScNotify(SyncRoguePickAvatarInfoScNotify other) : this()
		{
			this.trialAvatarIdList_ = other.trialAvatarIdList_.Clone();
			this.baseAvatarIdList_ = other.baseAvatarIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D9C1 RID: 55745 RVA: 0x00247C66 File Offset: 0x00245E66
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRoguePickAvatarInfoScNotify Clone()
		{
			return new SyncRoguePickAvatarInfoScNotify(this);
		}

		// Token: 0x17003D69 RID: 15721
		// (get) Token: 0x0600D9C2 RID: 55746 RVA: 0x00247C6E File Offset: 0x00245E6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> TrialAvatarIdList
		{
			get
			{
				return this.trialAvatarIdList_;
			}
		}

		// Token: 0x17003D6A RID: 15722
		// (get) Token: 0x0600D9C3 RID: 55747 RVA: 0x00247C76 File Offset: 0x00245E76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BaseAvatarIdList
		{
			get
			{
				return this.baseAvatarIdList_;
			}
		}

		// Token: 0x0600D9C4 RID: 55748 RVA: 0x00247C7E File Offset: 0x00245E7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRoguePickAvatarInfoScNotify);
		}

		// Token: 0x0600D9C5 RID: 55749 RVA: 0x00247C8C File Offset: 0x00245E8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRoguePickAvatarInfoScNotify other)
		{
			return other != null && (other == this || (this.trialAvatarIdList_.Equals(other.trialAvatarIdList_) && this.baseAvatarIdList_.Equals(other.baseAvatarIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D9C6 RID: 55750 RVA: 0x00247CE0 File Offset: 0x00245EE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.trialAvatarIdList_.GetHashCode();
			num ^= this.baseAvatarIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D9C7 RID: 55751 RVA: 0x00247D22 File Offset: 0x00245F22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D9C8 RID: 55752 RVA: 0x00247D2A File Offset: 0x00245F2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D9C9 RID: 55753 RVA: 0x00247D33 File Offset: 0x00245F33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.baseAvatarIdList_.WriteTo(ref output, SyncRoguePickAvatarInfoScNotify._repeated_baseAvatarIdList_codec);
			this.trialAvatarIdList_.WriteTo(ref output, SyncRoguePickAvatarInfoScNotify._repeated_trialAvatarIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D9CA RID: 55754 RVA: 0x00247D6C File Offset: 0x00245F6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.trialAvatarIdList_.CalculateSize(SyncRoguePickAvatarInfoScNotify._repeated_trialAvatarIdList_codec);
			num += this.baseAvatarIdList_.CalculateSize(SyncRoguePickAvatarInfoScNotify._repeated_baseAvatarIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D9CB RID: 55755 RVA: 0x00247DB8 File Offset: 0x00245FB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRoguePickAvatarInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.trialAvatarIdList_.Add(other.trialAvatarIdList_);
			this.baseAvatarIdList_.Add(other.baseAvatarIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D9CC RID: 55756 RVA: 0x00247DF7 File Offset: 0x00245FF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D9CD RID: 55757 RVA: 0x00247E00 File Offset: 0x00246000
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 58U)
				{
					if (num == 56U || num == 58U)
					{
						this.baseAvatarIdList_.AddEntriesFrom(ref input, SyncRoguePickAvatarInfoScNotify._repeated_baseAvatarIdList_codec);
						continue;
					}
				}
				else if (num == 104U || num == 106U)
				{
					this.trialAvatarIdList_.AddEntriesFrom(ref input, SyncRoguePickAvatarInfoScNotify._repeated_trialAvatarIdList_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040056A4 RID: 22180
		private static readonly MessageParser<SyncRoguePickAvatarInfoScNotify> _parser = new MessageParser<SyncRoguePickAvatarInfoScNotify>(() => new SyncRoguePickAvatarInfoScNotify());

		// Token: 0x040056A5 RID: 22181
		private UnknownFieldSet _unknownFields;

		// Token: 0x040056A6 RID: 22182
		public const int TrialAvatarIdListFieldNumber = 13;

		// Token: 0x040056A7 RID: 22183
		private static readonly FieldCodec<uint> _repeated_trialAvatarIdList_codec = FieldCodec.ForUInt32(106U);

		// Token: 0x040056A8 RID: 22184
		private readonly RepeatedField<uint> trialAvatarIdList_ = new RepeatedField<uint>();

		// Token: 0x040056A9 RID: 22185
		public const int BaseAvatarIdListFieldNumber = 7;

		// Token: 0x040056AA RID: 22186
		private static readonly FieldCodec<uint> _repeated_baseAvatarIdList_codec = FieldCodec.ForUInt32(58U);

		// Token: 0x040056AB RID: 22187
		private readonly RepeatedField<uint> baseAvatarIdList_ = new RepeatedField<uint>();
	}
}
